package com.mvp.shq.washer.ui.paySuccess;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.OrderInfo;
import com.mvp.shq.washer.entity.result.BaseResult;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/8/28.
 */

public interface PaySuccessConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<OrderInfo>> orderInfo(String token,String orderNo);
    }
    interface View extends BaseView{
        void getOrderS(OrderInfo orderInfo);
    }
    public abstract class Presenter extends BasePresenter<Model,View>{
        abstract void getOrderInfo(String orderNo);
    }
}
